Skip to content

feat(Clusters): redesign table #2495

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 30, 2025
Merged

feat(Clusters): redesign table #2495

merged 3 commits into from
Jun 30, 2025

Conversation

artemmufazalov
Copy link
Member

@artemmufazalov artemmufazalov commented Jun 26, 2025

Closes #2334

Stands: https://nda.ya.ru/t/HABYg_Bv7FpMCr

CI Results

Test Status: ⚠️ FLAKY

📊 Full Report

Total Passed Failed Flaky Skipped
354 348 0 1 5
Test Changes Summary ⏭️3

⏭️ Skipped Tests (3)

  1. Query tab first row has values for all columns in Top mode (tenant/diagnostics/tabs/queries.test.ts)
  2. Scroll to row, get shareable link, navigate to URL and verify row is scrolled into view (tenant/diagnostics/tabs/queries.test.ts)
  3. TopShards tab first row has values for all columns in History mode (tenant/diagnostics/tabs/topShards.test.ts)

Bundle Size: ✅

Current: 84.00 MB | Main: 84.01 MB
Diff: 4.29 KB (-0.00%)

✅ Bundle size unchanged.

ℹ️ CI Information
  • Test recordings for failed tests are available in the full report.
  • Bundle size is measured for the entire 'dist' directory.
  • 📊 indicates links to detailed reports.
  • 🔺 indicates increase, 🔽 decrease, and ✅ no change in bundle size.

@artemmufazalov artemmufazalov marked this pull request as ready for review June 27, 2025 10:00
@astandrik astandrik requested a review from Copilot June 30, 2025 08:55
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR redesigns the clusters table view by updating column definitions, internationalized strings, and UI components.

  • Major i18n updates and label/text changes in the clusters table
  • Adjustments to column definitions including removal of deprecated columns and adding new ones (STATUS and SERVICE)
  • Introduction of a custom progress bar component and updated search component

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/containers/Clusters/i18n/en.json Updated i18n strings and labels for the clusters table
src/containers/Clusters/constants.ts Removed deprecated columns and updated column titles
src/containers/Clusters/columns.tsx Revised column setup, added new columns, and introduced a progress bar
src/containers/Clusters/Clusters.tsx Updated rendering of the table title, search input, and error display
src/containers/Clusters/Clusters.scss Adjusted styling for new widths and added new CSS variables
src/components/Search/Search.tsx Enhanced input props handling by spreading additional properties
Comments suppressed due to low confidence (1)

src/containers/Clusters/columns.tsx:232

  • The 'SERVICE' column does not have a render method defined, which might lead to an empty column in the table. Consider implementing a render function to ensure that the column displays the expected content.
        name: COLUMNS_NAMES.SERVICE,

astandrik
astandrik previously approved these changes Jun 30, 2025
{clusters?.length}
</Text>
</Flex>
<Text variant="header-1">{uiFactory.clustersPageTitle ?? i18n('page_title')}</Text>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made possible to set title in uiFactory to prevent YDB EM name in open-source version

@artemmufazalov artemmufazalov requested a review from astandrik June 30, 2025 11:53
@artemmufazalov artemmufazalov added this pull request to the merge queue Jun 30, 2025
Merged via the queue into main with commit 7fa0358 Jun 30, 2025
7 checks passed
@artemmufazalov artemmufazalov deleted the redesign-clusters branch June 30, 2025 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rework clusters table
2 participants